import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    theme: 'standard' // 默认主题风格为标准
  },
  mutations: {
    // 修改主题色
    changeTheme(state, val) {
      state.theme = val
    }
  },
  actions: {

  }
})
